package com.okyai.cms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.okyai.common.annotation.Excel;
import com.okyai.common.core.domain.BaseEntity;

/**
 * 文章浏览记录对象 cms_history_log
 * 
 * @author okyai
 * @date 2020-12-03
 */
public class CmsHistoryLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 是否为移动端 */
    @Excel(name = "是否为移动端")
    private String hlIsMobile;

    /** 用户id */
    @Excel(name = "用户id")
    private String hlPeopleId;

    /** 浏览ip */
    @Excel(name = "浏览ip")
    private String hlIp;

    /** 文章编号 */
    @Excel(name = "文章编号")
    private Long contentId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHlIsMobile(String hlIsMobile) 
    {
        this.hlIsMobile = hlIsMobile;
    }

    public String getHlIsMobile() 
    {
        return hlIsMobile;
    }
    public void setHlPeopleId(String hlPeopleId) 
    {
        this.hlPeopleId = hlPeopleId;
    }

    public String getHlPeopleId() 
    {
        return hlPeopleId;
    }
    public void setHlIp(String hlIp) 
    {
        this.hlIp = hlIp;
    }

    public String getHlIp() 
    {
        return hlIp;
    }
    public void setContentId(Long contentId) 
    {
        this.contentId = contentId;
    }

    public Long getContentId() 
    {
        return contentId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hlIsMobile", getHlIsMobile())
            .append("hlPeopleId", getHlPeopleId())
            .append("hlIp", getHlIp())
            .append("contentId", getContentId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
